package scau.erps.test;

import javax.swing.JTextField;

public class UIUtil {
	
	public static void update(JTextField tf1,JTextField tf2, JTextField tf3,JTextField tf4){
		tf1.setText(tf2.getText());
		tf2.setText(tf3.getText());
		tf3.setText(tf4.getText());
		tf4.setText("0");		
	}
	public static void setNoEditing(JTextField tf1,JTextField tf2, JTextField tf3,JTextField tf4){
		tf1.setEditable(false);
		tf2.setEditable(false);
		tf3.setEditable(false);
		tf4.setEditable(false);
				
	}

}
